﻿@model Sisocana.Models.StylesheetModel

@Html.HiddenFor(model => model.Index)

<div class="editor-label">
    @Html.LabelFor(model => model.Name)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Name)
    @Html.ValidationMessageFor(model => model.Name)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Description)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Description)
    @Html.ValidationMessageFor(model => model.Description)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.File)
</div>
<div class="editor-field">
    <input type="file" name="Stylesheets[@Model.Index].File" id="Stylesheets_@{ @Model.Index }__File" onchange="document.getElementById('moreCSSLink').style.display = 'block';" />        
    @Html.ValidationMessageFor(model => model.File)        
</div>

